function list(state = [], {type, list}) {
    let NewState = JSON.parse(JSON.stringify(state))
    switch (type) {
        case "INIT":
            NewState = list
            return NewState
        default:
            return state
    }
}

export default list